package com.useful.mybatis.handler;

import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;
import org.apache.ibatis.type.MappedTypes;
import org.springframework.stereotype.Component;

/**
 * @author : wenchao.long
 * @date : Created in 2021/9/22 16:40 周三
 * @description :
 */
@Component
@MappedTypes({Integer[].class})
@MappedJdbcTypes(value = JdbcType.OTHER, includeNullJdbcType = true)
public class IntegerArrayJsonTypeHandler extends ArrayObjectJsonTypeHandler<Integer> {

    public IntegerArrayJsonTypeHandler() {
        super(Integer[].class);
    }
}
